package com.wlyuan.open.scanner.domain.transport;

import com.wlyuan.open.scanner.utils.enums.transport.TransportCloseStatusEnum;
import com.wlyuan.open.scanner.utils.enums.transport.TransportCloseTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author lijing
 * @description
 */
@Data
public class TransportClose {

    @ApiModelProperty("关单状态 10撤回中, 20待审核, 30拒绝中,40拒绝,50关单中，60同意")
    private TransportCloseStatusEnum closeStatus;
    @ApiModelProperty("关单类型 关单类型 0 订单错误 1 调度错误")
    private TransportCloseTypeEnum closeType;
    @ApiModelProperty("原因")
    private String reason;
    @ApiModelProperty("操作用户")
    private Long userId;
    @ApiModelProperty("操作租户")
    private Long tenantId;
    @ApiModelProperty("操作时间")
    private LocalDateTime createAt;
    private Long flowId;

    @ApiModelProperty("审核租户")
    private Long toTenantId;
}
